package home

import "git.oschina.net/fuxiaohei/fuxiaohei-go.git/Core"

type Home struct {

}

func (_ Home) Setup() {
	Core.SetRoute("GET:/", "[I]home.Home.HomeAction")
}

func (_ Home) HomeAction(request *Core.HxRequest, response *Core.HxResponse) {
	response.Redirect("/articles/")
}

